# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=tabby
pkgver=2.0
pkgrel=2
pkgdesc="Tabbed Tiling Wayland Compositor"
url="https://code.jessemcclure.org/tabby/"
arch="all"
license="MIT"
makedepends="
	cairo-dev
	nkk-dev
	pango-dev
	pixman-dev
	wayland-dev
	wayland-protocols
	wlroots-dev
	"
subpackages="$pkgname-doc"
source="tabby-$pkgver-r1.tar.gz::https://code.jessemcclure.org/tabby/tarball/$pkgver/tabby-$pkgver.tar.gz"
options="!check" # no checks provided

prepare() {
	default_prepare
	# set to /bin by default
	sed -i "s|bin|usr/bin|" share/config
}

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2541d68c49d53a47e3da67186862e5350aa15bc6c7253a3d949b746ac4518ac95c5b68481d544393ff6f44432c2648abe4504c56131e67cf16de517364af45ee  tabby-2.0-r1.tar.gz
"
